import { Column, Entity, PrimaryGeneratedColumn } from "typeorm";
import { BaseEntity } from "./base.entity";

@Entity({ name: 'SmsCode' })
export default class SmsCodeEntity extends BaseEntity {
  @PrimaryGeneratedColumn()
  SysID: number;

  @Column({ type: 'varchar', length: 25 })
  Mobile: string;

  @Column({ type: 'varchar', length: 6 })
  SmsCode: string;

  @Column({ type: 'varchar', length: 25 })
  Source: string;
}